package cn.oms.oms.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.time.LocalDate;
import java.util.Date;

@Data
public class PatientReqVo {

    @ApiModelProperty(value = "患者ID")
    private Integer patientId;

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @NotBlank(message = "患者姓名不能为空")
    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "出生年月日")
    private String patientDob;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "年龄（月）")
    private Integer ageMon;

    @ApiModelProperty(value = "血型")
    private String blood;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "婚姻状况")
    private Integer maritalStatus;

    @ApiModelProperty(value = "国籍")
    private String nationality;

    @ApiModelProperty(value = "籍贯")
    private String nativePlace;

    @NotBlank(message = "身份证号码不能为空")
    @ApiModelProperty(value = "身份证号码")
    private String documentNo;

    @ApiModelProperty(value = "家庭地址")
    private String homeAddress;

    @ApiModelProperty(value = "现居地")
    private String nowAddress;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "身高")
    private Integer height;

    @ApiModelProperty(value = "体重")
    private Integer weight;

    @ApiModelProperty(value = "工作单位名称")
    private String workCompanyName;

    @ApiModelProperty(value = "单位电话")
    private String workCompanyPhone;

    @ApiModelProperty(value = "职务名称")
    private String positionName;

    @ApiModelProperty(value = "紧急联系人电话")
    private String emergencyContactPhoneNo;

    @ApiModelProperty(value = "紧急联系人姓名")
    private String emergencyContactName;

    @ApiModelProperty(value = "紧急联系人关系")
    private String emergencyContactRelationship;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "删除标记")
    private Integer deleteFlag;

}
